AYUDA EN LÍNEA
 WINDEVWEBDEV Y WINDEV MOBILE

Ayuda / WLanguage / Funciones WLanguage / Funciones específicas de la Web / Funciones de páginas
WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac CatalystUniversal Windows 10 App
Others
Stored procedures
PagePosition (Function)
In french: PagePosition
Scrolls a page up to position a control in the visible section of the page (top) in the browser.
Example
// LOOP_LOOPER is a Looper control.
// Position on the last row of the Looper control
PagePosition("", LOOP_LOOPER, LOOP_LOOPER.Occurrence)
Syntax
PagePosition(<Page name> , <Control name> [, <Index>])
<Page name>: Character string
Name of the page to scroll.
The current page will be used if the name of the page corresponds to an empty string (""). PagePosition has no effect if the name of the page is incorrect.
<Control name>: Character string
Name of the control to display in the visible part of the specified page. PagePosition has no effect if the control is already visible in the page or if the page is entirely visible in the browser.
<Index>: Optional integer (for Looper and Table controls populated programmatically)
Index of the row that contains the control. PagePosition has no effect:
  • if the control is not a Looper or Table control populated programmatically,
  • if the index is greater than the number of rows in the specified Table or Looper control populated programmatically.
Component: WDJS.DLL
Versión mínima requerida
  • Versión 9
Comentarios
Haga clic en [Agregar] para publicar un comentario

Última modificación: 26/05/2022

Señalar un error o enviar una sugerencia | Ayuda local